<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
	<meta name="format-detection" content="telephone=no" />
	<title>首页</title>
	<link rel="stylesheet" type="text/css" href="../c/aui.css" />
	<style>
		.aui-card-list,
		.aui-card-list li,
		.aui-card-list ul,
		.aui-list .aui-list-item {
			background: none;
			border: 0;
			color: #fff;
		}
		#sx-view .aui-list-item:active{
			background: none
		}
		#sx-view .aui-list-item{
			/*background: #151515;*/
			margin-bottom: 0.75rem;
			border-bottom: 1px solid #2d2d2d;
			opacity: 0.8rem;
		}
		#sx-view .aui-list-item-text{
			padding: 0.15rem 0;
		}
		#sx-view .aui-list-item-text div{
			color: #fff;
			font-size: 0.7rem;
			display: flex;
		}
		#sx-view .aui-list-item-text .name{
			text-align: right;
		}
		#sx-view .b{
			padding: 0;
			color: #fff;
			/*border-top: 1px solid #2d2d2d;*/
			margin-top: 0rem;
			margin-bottom: 0.35rem;
		}
		#sx-view .b div{
			font-size: 0.65rem;
			color: #b9b8b8;
		}
		#sx-view .b .sx-btn{
			background: #FF5722;
			border: 0.25rem;
			padding: 0.15rem 0.5rem;
			border-radius: 0.25rem;
			font-size: 0.75rem;
			color: #fff;
		}
		#sx-view .b .by2{
			background: #eba825;
		}
		#sx-view .b .by3{
			background: #848383;
		}
		#sx-view .sx-content{
			color: #ff1616;
			font-size: 0.7rem;
			padding-top: 0.35rem;
		}
		#b{
			color: #eba825;
			font-weight: bold;
			letter-spacing: 1.5px
		}
		.tab{
			padding: 0.75rem 1.5rem;
			color: #fff;
			font-size: 0.75rem;
			/*background: #000*/
		}
		.tab .a{
			color: #eba825
		}
	</style>
</head>

<body>
	<div class="aui-content">
		<div class="tab aui-card-list-footer">
			<div class="a" tapmode onclick="tab(0)">全部</div>
			<div  tapmode onclick="tab(1)">已通过</div>
			<div  tapmode onclick="tab(2)">审核中</div>
			<div  tapmode onclick="tab(3)">未通过</div>
		</div>
		<div class="aui-card-list">
			<div class="aui-card-list-content">
				<script id="sx-list" type="text/x-dot-template">
					{{ for(var i=0,it=it.data; i < it.length; i++) { }}
					<li class="aui-list-item aui-list-item-middle">
						<div class="aui-media-list-item-inner">
							<div class="aui-list-item-inner aui-padded-b-0">
								<div class="aui-list-item-text">
									<div class=""><span class="name">提现金额：</span><span><b style="color:#f00">{{= it[i].money/100 }}</b>元</span></div>
								</div>
								{{? it[i].pay == 1 }}
								<div class="aui-list-item-text">
									<div class=""><span class="name">收款姓名：</span><span>{{= it[i].band_data.xingming }}</span></div>
								</div>
								<div class="aui-list-item-text">
									<div class=""><span class="name">收款账户：</span><span>{{= it[i].band_data.zhanghu }}</span></div>
								</div>
								{{??}}
								<div class="aui-list-item-text">
									/*<div class=""><span class="name">收款二维码：</span><span style="color:#eba825" tapmode onclick="img('{{= _sx_qiniu+it[i].band_data.img }}')">点击查看</span></div>*/
									<div class=""><span class="name">收款真实姓名：</span><span style="color:#eba825">{{= it[i].band_data.xingming }}</span></div>
								</div>
								{{?}}
								<div class="aui-list-item-text">
									<div class=""><span class="name">提现方式：</span><span>{{= it[i].pay==1 ?'支付宝':'微信' }}</span></div>
								</div>
								{{? it[i].hide==3 && it[i].content }}
								<div class="sx-content h">
									<span>失败原因：</span>
									<span>{{= it[i].content }}</span>
								</div>
								{{?}}
								<div class="b aui-card-list-footer">
									<div>{{= it[i].time }}</div>
									{{? it[i].hide==1 }}
									<div class="sx-btn">已通过</div>
									{{?? it[i].hide==2 }}
									<div class="sx-btn by2">审核中</div>
									{{??}}
									<div class="sx-btn by3">未通过</div>
									{{?}}
								</div>
							</div>
						</div>
					</li>
					{{ } }}
				</script>
				<ul class="aui-list aui-media-list" id="sx-view"><div id="loadingdi_huifu" style=" margin-top:50% "><img src="../i/footer_progress.png" /></div></ul>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src="../j/api.js"></script>
<script type="text/javascript" src="../j/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
	var url='';
	apiready = function() {
		urls();
		url = 'member/tixian_list';
		_list({url:url,loading:1});
		_shangla(function(ret,err){
			_list({url:url,loading:1});
		},1)
		// 监听滚动
		api.addEventListener({
			name : 'scrolltobottom',
		}, function(ret, err) {
			if (heigutgao == 1) {// heigutgao=1开启执行 0停止执行   防止连续滚动，等加载数据之后在进行滚动。
				pagenum += 1
				_list({url:url,page:pagenum});
			}
		});
	}
	function tab(a){
		$('.tab .a').removeClass('a');
		$('.tab div').eq(a).addClass('a')
		url = 'member/tixian_list/hide/'+a;
		api.refreshHeaderLoading();
	}
	function img(a) {
		_image({img:a})
	}
</script>

</html>
